<?php
/*!
 * Theme Name:One Nav
 * Theme URI:https://www.iotheme.cn/
 * Author:iowen
 * Author URI:https://www.iowen.cn/
 */
?>
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } ?>
<?php 
get_header(); 
include( get_theme_file_path('/templates/sidebar-nav.php') );
?>
	<div class="main-content flex-fill">
    
	<?php get_template_part( 'templates/header','banner' ); ?> 
	<div id="content" class="container container-lg customize-site mb-4 mb-md-5">
		<?php get_template_part( 'templates/search/mini' ) ?>
		<div class="row row-sm">
            
                <?php
                $list=get_all_topsearch();
                foreach ($list as $key => $value) {
                    echo '<div class="col-12 col-md-6 col-lg-4 mb-3">';
                    hot_search($key); 
                    echo '</div> ';
                } 
                ?>
        </div>
	</div> 
<?php
get_footer(); 
